package com.naiterui.ehp.bp.bo.statistics;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 经纪人数据统计-问诊相关记录
 * 
 * @author yangfuya
 * @since 2022/2/10
 */
@Data
@ApiModel("经纪人数据统计-问诊相关记录")
public class AsConsultRecordBO implements Serializable {
    private static final long serialVersionUID = 6555463755265510411L;

    /**
     * 图文问诊
     */
    public static final int TYPE_CONSULT = 1;
    /**
     * 视频问诊
     */
    public static final int TYPE_VIDEO = 2;

    @ApiModelProperty("大区Id")
    private Long areaId;

    @ApiModelProperty("省区Id")
    private Long provinceAreaId;

    @ApiModelProperty("经纪人id")
    private Long agentId;

    @ApiModelProperty("医生id")
    private Long doctorId;

    @ApiModelProperty("患者id")
    private Long patientId;

    @ApiModelProperty("问诊id")
    private Long consultId;

    @ApiModelProperty("问诊类型：1.图文 2.视频")
    private Integer consultType;

    @ApiModelProperty("问诊价格（单位分）")
    private Integer consultPrice;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("生成日期")
    private Date generateDate;

    @ApiModelProperty("创建时间")
    private Date createdAt;

    @ApiModelProperty("创建人")
    private String createdBy;
}
